package com.zp.business.entity.exam.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.zp.common.core.entity.BaseEntity;
import com.zp.common.excel.annotation.ExcelDictFormat;
import com.zp.common.excel.convert.ExcelDictConvert;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.Date;


/**
 * 检查申请子视图对象
 *
 * @author zhang peng
 * @ date 2024-01-05
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ExcelIgnoreUnannotated
public class ExamItemVo extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private String id;

    /**
     * 检查申请主表ID
     */
    @ExcelProperty(value = "检查申请主表ID")
    private String applyId;

    /**
     * 诊疗项目ID
     */
    @ExcelProperty(value = "诊疗项目ID")
    private String clinicItemId;

    /**
     * 检查项目名称
     */
    @ExcelProperty(value = "检查项目名称")
    private String itemName;

    /**
     * 检查部位
     */
    @ExcelProperty(value = "检查部位", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "position_type")
    private String examPosition;

    /**
     * 检查子类
     */
    @ExcelProperty(value = "检查子类")
    private String itemType;

    /**
     * 检查项目code
     */
    @ExcelProperty(value = "检查项目code")
    private String itemCode;

    /**
     * 数量
     */
    @ExcelProperty(value = "数量")
    private Integer num;

    /**
     * 单价
     */
    @ExcelProperty(value = "单价")
    private BigDecimal price;

    /**
     * 费用
     */
    @ExcelProperty(value = "费用")
    private BigDecimal costs;

    /**
     * 机构ID
     */
    @ExcelProperty(value = "机构ID")
    private String orgId;

    /**
     * 备注信息
     */
    @ExcelProperty(value = "备注信息")
    private String remarks;

    /**
     * 真实开单时间
     */
    @ExcelProperty(value = "真实开单时间")
    private Date realDate;

    /**
     * 交费标志
     */
    private String chargeFlag;

    /**
     * 确认标志
     */
    private String confirmFlag;
}
